{
  "resourceType" : "Bundle",
  "id" : "ExampleBundleCommunicableDiseasesTest",
  "meta" : {
    "profile" : [
       "https://fhir.by/AbstractArea/StructureDefinition/Bundle/MedicationDocument"
    ]
  },
  "identifier" : {
    "system" : "https://fhir.by/ValueSet/urn:ietf:rfc:3986",
    "value" : "{{$guid}}"
  },
  "type" : "document",
  "timestamp" : "2025-12-10T14:00:00Z",
  "entry" : [
    {
      "fullUrl" : "Composition/CompositionCommunicableDiseasesTest",
      "resource" : {
        "resourceType" : "Composition",
        "id" : "CompositionCommunicableDiseasesTest",
        "meta" : {
          "profile" : [
             "https://fhir.by/StructureDefinition/CompDocument"
          ]
        },
        "status" : "final",
        "type" : {
          "coding" : [
            {
              "system" : "https://fhir.by/ValueSet/CompositionType",
              "code" : "general",
              "display" : "Общая медицинская информация"
            }
          ]
        },
        "subject" : [
          {
             "reference" : "Patient/PatientTest"
          }
        ],
        "date" : "2025-12-10T14:00:00Z",
        "author" : [
          {
            "reference" : "Practitioner/1b8ecfd0-4a91-11f0-b91a-8110b3c97a9d"
          }
        ],
        "title" : "CompDocument для наполненного Bundle для заключения, подтверждающий отсутствие (наличие) состояния, вызванного потреблением ПАВ",
        "custodian" : {
          "reference" : "Organization/d472b8d6-5c80-4dfb-ad09-c5ce8596d5e9"
        },
        "event" : [
          {
            "detail" : [
              {
                "reference" : {
                   "reference" : "ClinicalImpression/ExampleCommunicableDiseasesTest"
                }
              }
            ]
          },
          {
            "detail" : [
              {
                "reference" : {
                   "reference" : "DiagnosticReport/ExampleDiagnosticReportCholeraTest"
                }
              }
            ]
          },
          {
            "detail" : [
              {
                "reference" : {
                   "reference" : "DiagnosticReport/ExampleDiagnosticReportLabHIVTest"
                }
              }
            ]
          },
          {
            "detail" : [
              {
                "reference" : {
                   "reference" : "Observation/ExampleKdlObservationCholeraTest"
                }
              }
            ]
          }
        ]
      }
    },
    {
      "fullUrl" : "Patient/PatientTest",
      "resource" : {
        "resourceType" : "Patient",
        "id" : "PatientTest",
        "meta" : {
          "profile" : [
             "https://fhir.by/StructureDefinition/PatientWithIdentificationNumber"
          ]
        },
        "extension" : [
          {
            "url" : "https://fhir.by/StructureDefinition/IncapacityExtension",
            "valueBoolean" : true
          },
          {
            "url" : "https://fhir.by/StructureDefinition/DisabilityGroup",
            "valueCodeableConcept" : {
              "coding" : [
                {
                  "system" : "https://fhir.by/ValueSet/DisabilityGroup",
                  "code" : "2_group",
                  "display" : "II группа"
                }
              ]
            }
          },
          {
            "url" : "https://fhir.by/StructureDefinition/DisabilityReason",
            "valueCodeableConcept" : {
              "coding" : [
                {
                  "system" : "https://fhir.by/ValueSet/DisabilityReason",
                  "code" : "general",
                  "display" : "общее заболевание"
                }
              ]
            }
          },
          {
            "extension" : [
              {
                "url" : "https://fhir.by/StructureDefinition/PatientJobProfession",
                "valueString" : "Инспектор по контролю за содержанием и охране зеленых насаждений"
              },
              {
                "url" : "https://fhir.by/StructureDefinition/PatientJobProfessionCode",
                "valueCodeableConcept" : {
                  "coding" : [
                    {
                      "system" : "https://fhir.by/ValueSet/SpecialtyProfPerson",
                      "code" : "3119-007",
                      "display" : "Инспектор по контролю за содержанием и охране зеленых насаждений"
                    }
                  ]
                }
              },
              {
                "url" : "https://fhir.by/StructureDefinition/PatientJobPlace",
                "valueString" : "УП «Зеленстрой»"
              },
              {
                "url" : "https://fhir.by/StructureDefinition/TermOFWork",
                "valuePeriod" : {
                  "start" : "2020-11-07"
                }
              },
              {
                "url" : "https://fhir.by/StructureDefinition/MainJobPlace",
                "valueBoolean" : true
              }
            ],
            "url" : "https://fhir.by/StructureDefinition/PatientJob"
          },
          {
            "extension" : [
              {
                "url" : "https://fhir.by/StructureDefinition/ConsentPersonalDataBoolean",
                "valueBoolean" : true
              },
              {
                "url" : "https://fhir.by/StructureDefinition/ConsentPersonalDataPeriod",
                "valuePeriod" : {
                  "start" : "2025-01-01"
                }
              }
            ],
            "url" : "https://fhir.by/StructureDefinition/ConsentPersonalData"
          }
        ],
        "identifier" : [
          {
            "use" : "usual",
            "type" : {
              "coding" : [
                {
                  "system" : "https://fhir.by/ValueSet/PersonalDocumentType",
                  "code" : "INP",
                  "display" : "Уникальный идентификационный номер"
                }
              ]
            },
            "value" : "7551027A009PB6"
          },
          {
            "extension" : [
              {
                "extension" : [
                  {
                    "url" : "https://fhir.by/StructureDefinition/PassportIssuedString",
                    "valueString" : "Центральным РУВД г Минска, 21.08.2021"
                  },
                  {
                    "url" : "https://fhir.by/StructureDefinition/PassportIssuedDate",
                    "valueDate" : "2021-08-21"
                  },
                  {
                    "url" : "https://fhir.by/StructureDefinition/PassportIssuedCode",
                    "valueCodeableConcept" : {
                      "coding" : [
                        {
                          "system" : "https://fhir.by/ValueSet/OCAM",
                          "code" : "710"
                        }
                      ]
                    }
                  }
                ],
                "url" : "https://fhir.by/StructureDefinition/PassportIssued"
              }
            ],
            "use" : "usual",
            "type" : {
              "coding" : [
                {
                  "system" : "https://fhir.by/ValueSet/PersonalDocumentType",
                  "code" : "Passport-RB",
                  "display" : "Паспорт гражданина Республики Беларусь"
                }
              ]
            },
            "value" : "MP2334561"
          },
          {
            "extension" : [
              {
                "extension" : [
                  {
                    "url" : "https://fhir.by/StructureDefinition/PassportIssuedDate",
                    "valueDate" : "2024-03-01"
                  },
                  {
                    "url" : "https://fhir.by/StructureDefinition/PassportIssuedString",
                    "valueString" : "Центральным МРЭК г Минска, 31.01.2024"
                  }
                ],
                "url" : "https://fhir.by/StructureDefinition/PassportIssued"
              }
            ],
            "use" : "official",
            "type" : {
              "coding" : [
                {
                  "system" : "https://fhir.by/ValueSet/PersonalDocumentType",
                  "code" : "CDP",
                  "display" : "Удостоверение инвалида"
                }
              ]
            },
            "value" : "Серия 09 №1234562",
            "period" : {
              "start" : "2024-02-15"
            },
            "assigner" : {
               "reference" : "Organization/af69999d-3e5c-49b9-a9e9-38e7687785f3"
            }
          },
          {
            "extension" : [
              {
                "extension" : [
                  {
                    "url" : "https://fhir.by/StructureDefinition/PassportIssuedDate",
                    "valueDate" : "1990-12-31"
                  },
                  {
                    "url" : "https://fhir.by/StructureDefinition/PassportIssuedString",
                    "valueString" : "Октябрьское РУВД г.Минска"
                  },
                  {
                    "url" : "https://fhir.by/StructureDefinition/PassportIssuedCode",
                    "valueCodeableConcept" : {
                      "coding" : [
                        {
                          "system" : "https://fhir.by/ValueSet/OCAM",
                          "code" : "705",
                          "display" : "Октябрьское РУВД г.Минска"
                        }
                      ]
                    }
                  }
                ],
                "url" : "https://fhir.by/StructureDefinition/PassportIssued"
              }
            ],
            "use" : "usual",
            "type" : {
              "coding" : [
                {
                  "system" : "https://fhir.by/ValueSet/PersonalDocumentType",
                  "code" : "BC",
                  "display" : "Свидетельство о рождении"
                }
              ]
            },
            "value" : "АВ7654322"
          }
        ],
        "active" : true,
        "name" : [
          {
            "family" : "Иванов",
            "given" : [
              "Петр",
              "Сидорович"
            ]
          }
        ],
        "telecom" : [
          {
            "extension" : [
              {
                "extension" : [
                  {
                    "url" : "https://fhir.by/StructureDefinition/PatientNotificationType",
                    "valueCodeableConcept" : {
                      "coding" : [
                        {
                          "system" : "https://fhir.by/ValueSet/PatientNotificationType",
                          "code" : "SMS",
                          "display" : "SMS"
                        }
                      ]
                    }
                  },
                  {
                    "url" : "https://fhir.by/StructureDefinition/PatientNotificationType",
                    "valueCodeableConcept" : {
                      "coding" : [
                        {
                          "system" : "https://fhir.by/ValueSet/PatientNotificationType",
                          "code" : "messenger-tel",
                          "display" : "Telegram"
                        }
                      ]
                    }
                  },
                  {
                    "url" : "https://fhir.by/StructureDefinition/PatientNotificationType",
                    "valueCodeableConcept" : {
                      "coding" : [
                        {
                          "system" : "https://fhir.by/ValueSet/PatientNotificationType",
                          "code" : "e-mail",
                          "display" : "e-mail"
                        }
                      ]
                    }
                  },
                  {
                    "url" : "https://fhir.by/StructureDefinition/PatientConsentForNotification",
                    "valueBoolean" : true
                  },
                  {
                    "url" : "https://fhir.by/StructureDefinition/PatientAccountPoint",
                    "valueBoolean" : true
                  }
                ],
                "url" : "https://fhir.by/StructureDefinition/PatientTelecomPurpose"
              }
            ],
            "system" : "phone",
            "value" : "295748410"
          },
          {
            "system" : "email",
            "value" : "test_mail@gmail.by"
          }
        ],
        "gender" : "male",
        "birthDate" : "1990-12-31",
        "deceasedBoolean" : false,
        "address" : [
          {
            "extension" : [
              {
                "url" : "https://fhir.by/StructureDefinition/CoutryForAddresses",
                "valueCodeableConcept" : {
                  "coding" : [
                    {
                      "system" : "https://fhir.by/ValueSet/CitizenshipCode",
                      "code" : "BY",
                      "display" : "Беларусь"
                    }
                  ]
                }
              },
              {
                "url" : "https://fhir.by/StructureDefinition/StreetGeoRegistry",
                "valueCodeableConcept" : {
                  "coding" : [
                    {
                      "system" : "https://fhir.by/ValueSet/StreetGeoRegistry",
                      "code" : "5170309411",
                      "display" : "Улица Золотая Горка"
                    }
                  ]
                }
              },
              {
                "url" : "https://fhir.by/StructureDefinition/ApartmentRoom",
                "valueString" : "кв. 29"
              }
            ],
            "use" : "home",
            "text" : "г.Минск, Улица Золотая Горка, д.5, кв.29",
            "postalCode" : "220022"
          },
          {
            "extension" : [
              {
                "url" : "https://fhir.by/StructureDefinition/CoutryForAddresses",
                "valueCodeableConcept" : {
                  "coding" : [
                    {
                      "system" : "https://fhir.by/ValueSet/CitizenshipCode",
                      "code" : "BY",
                      "display" : "Беларусь"
                    }
                  ]
                }
              },
              {
                "url" : "https://fhir.by/StructureDefinition/StreetGeoRegistry",
                "valueCodeableConcept" : {
                  "coding" : [
                    {
                      "system" : "https://fhir.by/ValueSet/StreetGeoRegistry",
                      "code" : "51703019678",
                      "display" : "Проспект Рокоссовского"
                    }
                  ]
                }
              },
              {
                "url" : "https://fhir.by/StructureDefinition/ApartmentRoom",
                "valueString" : "кв. 2"
              }
            ],
            "use" : "temp",
            "text" : "г.Минск, Проспект Рокоссовского, д.20, кв.2",
            "postalCode" : "220011"
          }
        ],
        "maritalStatus" : {
          "coding" : [
            {
              "system" : "https://fhir.by/ValueSet/MaritalStatus",
              "code" : "married"
            }
          ]
        },
        "contact" : [
          {
            "relationship" : [
              {
                "coding" : [
                  {
                    "system" : "https://fhir.by/ValueSet/RelatedPersonType",
                    "code" : "wife"
                  }
                ]
              }
            ],
            "name" : {
              "family" : "Иванова",
              "given" : [
                "Лариса",
                "Ивановна"
              ]
            },
            "telecom" : [
              {
                "system" : "phone",
                "value" : "802990990908"
              }
            ]
          }
        ],
        "generalPractitioner" : [
          {
            "reference" : "Organization/97e05a7d-b923-4b34-bf76-e4b19e248f83",
            "identifier" : {
              "value" : "123156789012",
              "period" : {
                "start" : "2002-12-11"
              }
            }
          }
        ]
      }
    },
    {
      "fullUrl" : "DiagnosticReport/ExampleDiagnosticReportCholeraTest",
      "resource" : {
        "resourceType" : "DiagnosticReport",
        "id" : "ExampleDiagnosticReportCholeraTest",
        "meta" : {
          "profile" : [
             "https://fhir.by/StructureDefinition/DiagnosticReportLab"
          ]
        },
        "extension" : [
          {
            "url" : "https://fhir.by/StructureDefinition/ResearchMethods",
            "valueCodeableConcept" : {
              "coding" : [
                {
                  "system" : "https://fhir.by/ValueSet/OlisMethodsSplit",
                  "code" : "43",
                  "display" : "Метод амплификации нуклеиновых кислот"
                }
              ]
            }
          }
        ],
        "identifier" : [
          {
            "value" : "30341",
            "assigner" : {
              "extension" : [
                {
                  "url" : "https://fhir.by/StructureDefinition/LocationReference",
                  "valueReference" : {
                    "reference" : "Location/f842aa2d-f34f-49ed-bc1d-e741123bfd55"
                  }
                }
              ],
              "reference" : "Organization/d472b8d6-5c80-4dfb-ad09-c5ce8596d5e9"
            }
          }
        ],
        "status" : "final",
        "code" : {
          "coding" : [
            {
              "system" : "https://fhir.by/ValueSet/TypesOfLabTests",
              "code" : "8.2.593",
              "display" : "Vibrio cholerae ген токсина (ctx), обнаружение в любой пробе"
            }
          ]
        },
        "subject" : {
           "reference" : "Patient/PatientTest"
        },
        "issued" : "2025-12-10T14:00:00Z",
        "resultsInterpreter" : [
          {
            "reference" : "PractitionerRole/0699ca9f-b924-48b6-bd91-88233dde3155"
          }
        ],
        "result" : [
          {
             "reference" : "Observation/ExampleKdlObservationCholeraTest"
          }
        ]
      }
    },
    {
      "fullUrl" : "DiagnosticReport/ExampleDiagnosticReportLabHIVTest",
      "resource" : {
        "resourceType" : "DiagnosticReport",
        "id" : "ExampleDiagnosticReportLabHIVTest",
        "meta" : {
          "profile" : [
             "https://fhir.by/StructureDefinition/DiagnosticReportLab"
          ]
        },
        "identifier" : [
          {
            "value" : "12777941",
            "assigner" : {
              "extension" : [
                {
                  "url" : "https://fhir.by/StructureDefinition/LocationReference",
                  "valueReference" : {
                    "reference" : "Location/f842aa2d-f34f-49ed-bc1d-e741123bfd55"
                  }
                }
              ],
              "reference" : "Organization/d472b8d6-5c80-4dfb-ad09-c5ce8596d5e9"
            }
          }
        ],
        "status" : "final",
        "code" : {
          "coding" : [
            {
              "system" : "https://fhir.by/ValueSet/TypesOfLabTests",
              "code" : "5.9.404",
              "display" : "Антитела к ВИЧ 1 и 2, обнаружение"
            }
          ]
        },
        "subject" : {
           "reference" : "Patient/PatientTest"
        },
        "issued" : "2025-12-10T14:00:00Z",
        "resultsInterpreter" : [
          {
            "reference" : "PractitionerRole/0699ca9f-b924-48b6-bd91-88233dde3155"
          }
        ],
        "conclusion" : "Положительный"
      }
    },
    {
      "fullUrl" : "Observation/ExampleKdlObservationCholeraTest",
      "resource" : {
        "resourceType" : "Observation",
        "id" : "ExampleKdlObservationCholeraTest",
        "meta" : {
          "lastUpdated" : "2025-12-10T14:00:00Z",
          "profile" : [
             "https://fhir.by/StructureDefinition/ObservationLabMicroorganism"
          ]
        },
        "identifier" : [
          {
            "value" : "1222",
            "assigner" : {
              "extension" : [
                {
                  "url" : "https://fhir.by/StructureDefinition/LocationReference",
                  "valueReference" : {
                    "reference" : "Location/f842aa2d-f34f-49ed-bc1d-e741123bfd55"
                  }
                }
              ],
              "reference" : "Organization/d472b8d6-5c80-4dfb-ad09-c5ce8596d5e9"
            }
          }
        ],
        "status" : "final",
        "code" : {
          "coding" : [
            {
              "system" : "https://fhir.by/ValueSet/TypesOfLabTests",
              "code" : "8.2.593",
              "display" : "Vibrio cholerae ген токсина (ctx), обнаружение в любой пробе"
            }
          ]
        },
        "subject" : {
           "reference" : "Patient/PatientTest"
        },
        "effectiveDateTime" : "2025-12-10T14:00:00Z",
        "performer" : [
          {
            "reference" : "PractitionerRole/0699ca9f-b924-48b6-bd91-88233dde3155"
          }
        ],
        "valueCodeableConcept" : {
          "coding" : [
            {
              "system" : "https://fhir.by/ValueSet/Microorganisms",
              "code" : "Selenomonas flueggei",
              "display" : "Selenomonas flueggei"
            }
          ]
        },
        "component" : [
          {
            "code" : {
              "coding" : [
                {
                  "system" : "https://fhir.by/ValueSet/MicroorganismSpecs",
                  "code" : "MicroorganismQuantity",
                  "display" : "Колличество"
                }
              ]
            },
            "valueString" : "умеренный рост"
          },
          {
            "code" : {
              "coding" : [
                {
                  "system" : "https://fhir.by/ValueSet/MicroorganismSpecs",
                  "code" : "BetaLactamase",
                  "display" : "Beta-лактамаза"
                }
              ]
            },
            "valueBoolean" : true
          },
          {
            "code" : {
              "coding" : [
                {
                  "system" : "https://fhir.by/ValueSet/MicroorganismSpecs",
                  "code" : "GramPositive",
                  "display" : "Грамм-положительность"
                }
              ]
            },
            "valueBoolean" : false
          },
          {
            "code" : {
              "coding" : [
                {
                  "system" : "https://fhir.by/ValueSet/MicroorganismSpecs",
                  "code" : "Antibiotic",
                  "display" : "Антибиотик"
                }
              ]
            },
            "valueCodeableConcept" : {
              "coding" : [
                {
                  "system" : "https://fhir.by/ValueSet/Antimicrobials",
                  "code" : "azithromycin",
                  "display" : "азитромицин"
                }
              ]
            },
            "interpretation" : [
              {
                "coding" : [
                  {
                    "system" : "https://fhir.by/ValueSet/AntimicrobialSensitivityIndicator",
                    "code" : "S",
                    "display" : "S"
                  }
                ]
              }
            ]
          },
          {
            "code" : {
              "coding" : [
                {
                  "system" : "https://fhir.by/ValueSet/MicroorganismSpecs",
                  "code" : "Antibiotic",
                  "display" : "Антибиотик"
                }
              ]
            },
            "valueCodeableConcept" : {
              "coding" : [
                {
                  "system" : "https://fhir.by/ValueSet/Antimicrobials",
                  "code" : "doxycyclin",
                  "display" : "доксициклин"
                }
              ]
            },
            "interpretation" : [
              {
                "coding" : [
                  {
                    "system" : "https://fhir.by/ValueSet/AntimicrobialSensitivityIndicator",
                    "code" : "R",
                    "display" : "R"
                  }
                ]
              }
            ]
          }
        ]
      }
    },
    {
      "fullUrl" : "ClinicalImpression/ExampleCommunicableDiseasesTest",
      "resource" : {
        "resourceType" : "ClinicalImpression",
        "id" : "ExampleCommunicableDiseasesTest",
        "meta" : {
          "profile" : [
             "https://fhir.by/StructureDefinition/MedAssessmentCommunicableDiseases"
          ]
        },
        "identifier" : [
          {
            "value" : "234245",
            "assigner" : {
              "reference" : "Organization/d472b8d6-5c80-4dfb-ad09-c5ce8596d5e9"
            }
          }
        ],
        "status" : "completed",
        "subject" : {
           "reference" : "Patient/PatientTest"
        },
        "effectivePeriod" : {
          "start" : "2025-12-10T14:00:00Z",
          "end" : "2025-12-10T15:00:00Z"
        },
        "date" : "2025-12-10",
        "performer" : {
          "reference" : "PractitionerRole/0699ca9f-b924-48b6-bd91-88233dde3155"
        },
        "prognosisCodeableConcept" : [
          {
            "coding" : [
              {
                "system" : "https://fhir.by/ValueSet/CommunicableDiseases",
                "code" : "communicable_diseases",
                "display" : "Имеются заболевания, включенные в перечень заболеваний, представляющих опасность для здоровья населения"
              }
            ]
          },
          {
            "coding" : [
              {
                "system" : "https://fhir.by/ValueSet/CommunicableDiseases",
                "code" : "hiv",
                "display" : "Инфицирован(а) ВИЧ"
              }
            ]
          }
        ],
        "supportingInfo" : [
          {
             "reference" : "DiagnosticReport/ExampleDiagnosticReportCholeraTest"
          },
          {
             "reference" : "DiagnosticReport/ExampleDiagnosticReportLabHIVTest"
          }
        ]
      }
    }
  ]
}